package com.sxm.yiwei.activitis;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.ImageView;
import android.widget.LinearLayout;

import com.sxm.yiwei.R;

public class FwMaintainActivity extends BaseActivity implements View.OnClickListener{

    private ImageView maintainback;
    private LinearLayout miantainsearch;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_fw_maintain);
        initmaintianView();
    }

    private void initmaintianView() {
        maintainback = (ImageView) findViewById(R.id.maintain_back);
        miantainsearch = (LinearLayout) findViewById(R.id.maintain_search);

        maintainback.setOnClickListener(this);
        miantainsearch.setOnClickListener(this);
    }

    @Override
    public void onClick(View v) {
        switch (v.getId()){
            case R.id.maintain_back:
                finish();
                break;
            case R.id.maintain_search:
                startActivity(new Intent(this,InstallPsgActivity.class));
                break;
        }
    }
}
